import request from "../request.js"
import {COLLECTION_URL} from "../const.js"

export default{
	setCollection(data,token){
			return request({
				url:COLLECTION_URL,
				method:"post",
				data,
				header:{
					Authorization:token.token
				}
			}) 
	}
}